//package study.saas.order.service.Impl;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import study.saas.order.entity.Order;
//import study.saas.order.service.model.OrderCriteria;
//
//import java.io.File;
//import java.util.List;
//import study.saas.web.portal.sys.admin.service.OrderService;
//import study.saas.web.portal.sys.admin.service.UserService;
//@Service
//public class OrderFacadeImpl implements OrderFacade {
//
//    private final OrderService orderService;
//
//    @Autowired
//    public OrderFacadeImpl(OrderService orderService) {
//        this.orderService = orderService;
//    }
//
//    @Override
//    public Order createOrder(Order order) {
//        return orderService.createOrder(order);
//    }
//
//    @Override
//    public Order getOrderById(Long orderId) {
//        return orderService.findById(orderId);
//    }
//
//    @Override
//    public List<Order> getOrdersByCriteria(OrderCriteria criteria) {
//        return orderService.findOrdersByCriteria(criteria);
//    }
//
//    @Override
//    public File exportOrders(OrderCriteria criteria) {
//        return orderService.exportOrders(criteria);
//    }
//}
